I wish that there were a page where I could see just the active incidents view (see attached image) without any headers, footers, sidebars, margins, etc. I want to keep this open 100% of the time on one of my monitors in a Chrome instance with the --app
flag.
Webview with just active incidents
A hack for this is to run this JavaScript when the page is finished loading, using something like TamperMonkey:
const hideElements = [
'#navbar-ui',
'.page-header',
'.pd-sidebar',
'.pd-incident-counts-widget',
];
const searchParams = new URLSearchParams(window.location.search);
if (searchParams.has('hide_header')) {
for (const element of hideElements) {
document.querySelector(element).style.display = 'none';
}
}
Then, to see the stripped-down version of the page, put hide_header=1 in the URL.
Even with the hack, I would still appreciate having this as an official feature; otherwise, it’s hard to “roll it out” to my team. I would have to go person-by-person and get them to add the userscript to their browser.